//
//  UIView+SCBaseExt.m
//  SCFoundationKit
//
//  Created by Chao Sheng on 2023/10/13.
//

#import "UIWindow+SCBaseExt.h"

@implementation UIWindow (SCBaseExt)

- (UIEdgeInsets)sc_safeAreaInsets {
    if (@available(iOS 11.0, *)) {
        return self.safeAreaInsets;
    } else {
        return UIEdgeInsetsMake(0, 0, 0, 0);
    }
}

@end
